package com.ssy.lingxi.order.model.dto;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单商品及关联的交易流程信息
 * @author 万宁
 * @version 2.0.0
 * @date 2021-09-07
 */
public class TradeProcessProductDTO implements Serializable {
    private static final long serialVersionUID = -2051347182759118162L;

    public TradeProcessProductDTO(Long vendorMemberId, Long vendorRoleId, Long productId, Long skuId, String processKey, Integer payTimes, Long contractId, BigDecimal expireHours, String payNodeString) {
        this.vendorMemberId = vendorMemberId;
        this.vendorRoleId = vendorRoleId;
        this.productId = productId;
        this.skuId = skuId;
        this.processKey = processKey;
        this.payTimes = payTimes;
        this.contractId = contractId;
        this.expireHours = expireHours;
        this.payNodeString = payNodeString;
    }

    /**
     * 供应会员Id
     */
    private Long vendorMemberId;

    /**
     * 供应会员角色Id
     */
    private Long vendorRoleId;

    /**
     * 商品Id
     */
    private Long productId;

    /**
     * 商品SkuId
     */
    private Long skuId;

    /**
     * 流程Key
     */
    private String processKey;

    /**
     * 支付次数
     */
    private Integer payTimes;

    /**
     * 电子合同Id，如不使用合同，为0
     */
    private Long contractId;

    /**
     * 订单取消时间
     */
    private BigDecimal expireHours;

    /**
     * 支付环节名称.concat(支付次数）
     */
    private String payNodeString;

    public Long getVendorMemberId() {
        return vendorMemberId;
    }

    public void setVendorMemberId(Long vendorMemberId) {
        this.vendorMemberId = vendorMemberId;
    }

    public Long getVendorRoleId() {
        return vendorRoleId;
    }

    public void setVendorRoleId(Long vendorRoleId) {
        this.vendorRoleId = vendorRoleId;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public String getProcessKey() {
        return processKey;
    }

    public void setProcessKey(String processKey) {
        this.processKey = processKey;
    }

    public Integer getPayTimes() {
        return payTimes;
    }

    public void setPayTimes(Integer payTimes) {
        this.payTimes = payTimes;
    }

    public Long getContractId() {
        return contractId;
    }

    public void setContractId(Long contractId) {
        this.contractId = contractId;
    }

    public BigDecimal getExpireHours() {
        return expireHours;
    }

    public void setExpireHours(BigDecimal expireHours) {
        this.expireHours = expireHours;
    }

    public String getPayNodeString() {
        return payNodeString;
    }

    public void setPayNodeString(String payNodeString) {
        this.payNodeString = payNodeString;
    }
}
